package cn.gson.oasys.services.file.impl;

import cn.gson.oasys.model.dao.filedao.FileListdao;
import cn.gson.oasys.services.file.FileService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public class FileServiceImpl implements FileService {

    @Autowired
    private FileListdao fileListdao;

    //记日志
    Logger log = LoggerFactory.getLogger(getClass());

    //计算文件个数
    @Override
    public Object count() {
        return fileListdao.count();
    }
}
